<?php
/***
 * admin interface
 * for modifying forums layout
 *
 **/

$default_increment = 10;

require_once 'tpl.php';
require_once 'thread.php';

// list all forums and drop down boxes
if( $_REQUEST['start'] > 0
    && $_REQUEST['start'] < $_REQUEST[''] ) {
  $start = (int)$_REQUEST['start'];
  $end = ((int)$_REQUEST['inc'] > 0) ? (int)$_REQUEST['inc'] : default_increment();
 
  tplHead();
  foreach( getFora(null, $start, $inc) as $forum ) {
    tplEditForum( $forum );
  }
  tplNewForum();
  tplFoot();
}

?>
